package sample.web.dto;

import java.io.Serializable;
import java.util.Date;

public class OrderDto implements Serializable {
    //主键
    private String id;
    //总金额
    private Float summoney;
    //应付金额
    private Float payable;
    //订单状态
    private Integer orderstate;
    //交付状态
    private Integer paystate;
    //发货状态
    private Integer shipments;
    //支付方式
    private String paymentName;
    //配送方式
    private String  deliveryName;
    //下单时间
    private Date orderTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Float getSummoney() {
        return summoney;
    }

    public void setSummoney(Float summoney) {
        this.summoney = summoney;
    }

    public Float getPayable() {
        return payable;
    }

    public void setPayable(Float payable) {
        this.payable = payable;
    }

    public Integer getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(Integer orderstate) {
        this.orderstate = orderstate;
    }

    public Integer getPaystate() {
        return paystate;
    }

    public void setPaystate(Integer paystate) {
        this.paystate = paystate;
    }

    public Integer getShipments() {
        return shipments;
    }

    public void setShipments(Integer shipments) {
        this.shipments = shipments;
    }

    public String getPaymentName() {
        return paymentName;
    }

    public void setPaymentName(String paymentName) {
        this.paymentName = paymentName;
    }

    public String getDeliveryName() {
        return deliveryName;
    }

    public void setDeliveryName(String deliveryName) {
        this.deliveryName = deliveryName;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    @Override
    public String toString() {
        return "OrderDto{" +
                "id='" + id + '\'' +
                ", summoney=" + summoney +
                ", payable=" + payable +
                ", orderstate=" + orderstate +
                ", paystate=" + paystate +
                ", shipments=" + shipments +
                ", paymentName='" + paymentName + '\'' +
                ", deliveryName='" + deliveryName + '\'' +
                ", orderTime=" + orderTime +
                '}';
    }
}
